package com.dragon.modules.yuegou.query.wallet;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.wallet.MemberCardEntity;
import com.dragon.modules.yuegou.enums.wallet.MemberCardBindStatus;
import com.dragon.modules.yuegou.enums.wallet.MemberCardPresentStatus;
import com.dragon.modules.yuegou.enums.wallet.MemberCardSource;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 会员悦卡（简称悦卡） 动态查询条件
 * 
 * @author pbuilder generated
 * @date 2019-06-03 15:20:36
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class MemberCardQuery extends MemberCardEntity implements Query<MemberCardEntity> {

    /** 会员悦卡ID查询条件 */
	@JsonUnwrapped(prefix = "id")
	private Condition<String> idCondition;

    /** 会员ID（冗余ID）查询条件 */
	@JsonUnwrapped(prefix = "memberId")
	private Condition<String> memberIdCondition;

    /** 会员钱包ID查询条件 */
	@JsonUnwrapped(prefix = "memberWalletId")
	private Condition<String> memberWalletIdCondition;

    /** 悦卡类型ID查询条件 */
	@JsonUnwrapped(prefix = "cardTemplateId")
	private Condition<String> cardTemplateIdCondition;

    /** 悦卡卡号查询条件 */
	@JsonUnwrapped(prefix = "cardNo")
	private Condition<String> cardNoCondition;

    /** 企业ID（发放悦卡的企业，会员自行购买时此字段为空）查询条件 */
	@JsonUnwrapped(prefix = "companyId")
	private Condition<String> companyIdCondition;

    /** 员工id查询条件 */
	@JsonUnwrapped(prefix = "employeesId")
	private Condition<String> employeesIdCondition;

    /** 悦卡余额查询条件 */
	@JsonUnwrapped(prefix = "remain")
	private Condition<BigDecimal> remainCondition;

    /** 悦卡总额（不变）查询条件 */
	@JsonUnwrapped(prefix = "amount")
	private Condition<BigDecimal> amountCondition;

    /** 版本查询条件 */
	@JsonUnwrapped(prefix = "version")
	private Condition<Integer> versionCondition;

    /** [枚举]悦卡来源：0-会员充值-MEMBER_BUY、1-企业发放-COMPANY_GRANT、2-实体卡绑定-ENTITY_BIND查询条件 */
	@JsonUnwrapped(prefix = "source")
	private Condition<MemberCardSource> sourceCondition;

    /** 有效期开始时间（包含）查询条件 */
	@JsonUnwrapped(prefix = "startTime")
	private Condition<LocalDateTime> startTimeCondition;

    /** 有效期截止时间（不包含）查询条件 */
	@JsonUnwrapped(prefix = "endTime")
	private Condition<LocalDateTime> endTimeCondition;

    /** 是否已退卡查询条件 */
	@JsonUnwrapped(prefix = "refund")
	private Condition<Boolean> refundCondition;

    /** [枚举]绑定状态：0-不能绑定-NOT_CAN、1-已绑定-BINDING、2-已解绑-UNBINDING查询条件 */
	@JsonUnwrapped(prefix = "bindStatus")
	private Condition<MemberCardBindStatus> bindStatusCondition;

    /** [枚举]赠送状态：0-未赠送-NOT_PRESENT、1-赠送中-PRESENTING、2-已赠送-PRESENTED查询条件 */
	@JsonUnwrapped(prefix = "presentStatus")
	private Condition<MemberCardPresentStatus> presentStatusCondition;

    /** 是否优先排序 0 不优先 1优先查询条件 */
	@JsonUnwrapped(prefix = "prioritization")
	private Condition<Boolean> prioritizationCondition;

    /** 创建时间查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "modifiedTime")
	private Condition<LocalDateTime> modifiedTimeCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public MemberCardQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public MemberCardQuery(MemberCardEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public MemberCardQuery(MemberCardQuery other) {
		super(other);
		if(other.idCondition != null) {
			this.idCondition = other.idCondition.copy();
		}
		if(other.memberIdCondition != null) {
			this.memberIdCondition = other.memberIdCondition.copy();
		}
		if(other.memberWalletIdCondition != null) {
			this.memberWalletIdCondition = other.memberWalletIdCondition.copy();
		}
		if(other.cardTemplateIdCondition != null) {
			this.cardTemplateIdCondition = other.cardTemplateIdCondition.copy();
		}
		if(other.cardNoCondition != null) {
			this.cardNoCondition = other.cardNoCondition.copy();
		}
		if(other.companyIdCondition != null) {
			this.companyIdCondition = other.companyIdCondition.copy();
		}
		if(other.employeesIdCondition != null) {
			this.employeesIdCondition = other.employeesIdCondition.copy();
		}
		if(other.remainCondition != null) {
			this.remainCondition = other.remainCondition.copy();
		}
		if(other.amountCondition != null) {
			this.amountCondition = other.amountCondition.copy();
		}
		if(other.versionCondition != null) {
			this.versionCondition = other.versionCondition.copy();
		}
		if(other.sourceCondition != null) {
			this.sourceCondition = other.sourceCondition.copy();
		}
		if(other.startTimeCondition != null) {
			this.startTimeCondition = other.startTimeCondition.copy();
		}
		if(other.endTimeCondition != null) {
			this.endTimeCondition = other.endTimeCondition.copy();
		}
		if(other.refundCondition != null) {
			this.refundCondition = other.refundCondition.copy();
		}
		this.setOther(other);
	}
	private void setOther(MemberCardQuery other){
		if(other.bindStatusCondition != null) {
			this.bindStatusCondition = other.bindStatusCondition.copy();
		}
		if(other.presentStatusCondition != null) {
			this.presentStatusCondition = other.presentStatusCondition.copy();
		}
		if(other.prioritizationCondition != null) {
			this.prioritizationCondition = other.prioritizationCondition.copy();
		}
		if(other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		if(other.modifiedTimeCondition != null) {
			this.modifiedTimeCondition = other.modifiedTimeCondition.copy();
		}
	}

	@Override
	public QueryWrapper<MemberCardEntity> toQueryWrapper() {
		QueryWrapper<MemberCardEntity> wrapper = new QueryWrapper<>(this);
		if (idCondition != null) {
			idCondition.toWrapper(wrapper, COL_ID);
		}
		if (memberIdCondition != null) {
			memberIdCondition.toWrapper(wrapper, COL_MEMBER_ID);
		}
		if (memberWalletIdCondition != null) {
			memberWalletIdCondition.toWrapper(wrapper, COL_MEMBER_WALLET_ID);
		}
		if (cardTemplateIdCondition != null) {
			cardTemplateIdCondition.toWrapper(wrapper, COL_CARD_TEMPLATE_ID);
		}
		if (cardNoCondition != null) {
			cardNoCondition.toWrapper(wrapper, COL_CARD_NO);
		}
		if (companyIdCondition != null) {
			companyIdCondition.toWrapper(wrapper, COL_COMPANY_ID);
		}
		if (employeesIdCondition != null) {
			employeesIdCondition.toWrapper(wrapper, COL_EMPLOYEES_ID);
		}
		if (remainCondition != null) {
			remainCondition.toWrapper(wrapper, COL_REMAIN);
		}
		if (amountCondition != null) {
			amountCondition.toWrapper(wrapper, COL_AMOUNT);
		}
		if (versionCondition != null) {
			versionCondition.toWrapper(wrapper, COL_VERSION);
		}
		if (sourceCondition != null) {
			sourceCondition.toWrapper(wrapper, COL_SOURCE);
		}
		if (startTimeCondition != null) {
			startTimeCondition.toWrapper(wrapper, COL_START_TIME);
		}
		if (endTimeCondition != null) {
			endTimeCondition.toWrapper(wrapper, COL_END_TIME);
		}
		if (refundCondition != null) {
			refundCondition.toWrapper(wrapper, COL_REFUND);
		}
		return getQueryWrapper(wrapper);
	}
	private QueryWrapper<MemberCardEntity> getQueryWrapper(QueryWrapper<MemberCardEntity> wrapper){
		if (bindStatusCondition != null) {
			bindStatusCondition.toWrapper(wrapper, COL_BIND_STATUS);
		}
		if (presentStatusCondition != null) {
			presentStatusCondition.toWrapper(wrapper, COL_PRESENT_STATUS);
		}
		if (prioritizationCondition != null) {
			prioritizationCondition.toWrapper(wrapper, COL_PRIORITIZATION);
		}
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		if (modifiedTimeCondition != null) {
			modifiedTimeCondition.toWrapper(wrapper, COL_MODIFIED_TIME);
		}
		return wrapper;
	}

	/**
	 * 构造并返回会员悦卡ID查询条件
	 * 
	 * @return idCondition 会员悦卡ID查询条件
	 */
	public Condition<String> id() {
		this.idCondition = new Condition<>();
		return this.idCondition;
	}
	
	/**
	 * 获取会员悦卡ID查询条件
	 * 
	 * @return idCondition 会员悦卡ID查询条件
	 */
	public Condition<String> getIdCondition() {
		return idCondition;
	}

	/**
	 * 设置会员悦卡ID查询条件
	 * 
	 * @param idCondition 会员悦卡ID查询条件
	 */
	public void setIdCondition(Condition<String> idCondition) {
		this.idCondition = idCondition;
	}

	/**
	 * 构造并返回会员ID（冗余ID）查询条件
	 * 
	 * @return memberIdCondition 会员ID（冗余ID）查询条件
	 */
	public Condition<String> memberId() {
		this.memberIdCondition = new Condition<>();
		return this.memberIdCondition;
	}
	
	/**
	 * 获取会员ID（冗余ID）查询条件
	 * 
	 * @return memberIdCondition 会员ID（冗余ID）查询条件
	 */
	public Condition<String> getMemberIdCondition() {
		return memberIdCondition;
	}

	/**
	 * 设置会员ID（冗余ID）查询条件
	 * 
	 * @param memberIdCondition 会员ID（冗余ID）查询条件
	 */
	public void setMemberIdCondition(Condition<String> memberIdCondition) {
		this.memberIdCondition = memberIdCondition;
	}

	/**
	 * 构造并返回会员钱包ID查询条件
	 * 
	 * @return memberWalletIdCondition 会员钱包ID查询条件
	 */
	public Condition<String> memberWalletId() {
		this.memberWalletIdCondition = new Condition<>();
		return this.memberWalletIdCondition;
	}
	
	/**
	 * 获取会员钱包ID查询条件
	 * 
	 * @return memberWalletIdCondition 会员钱包ID查询条件
	 */
	public Condition<String> getMemberWalletIdCondition() {
		return memberWalletIdCondition;
	}

	/**
	 * 设置会员钱包ID查询条件
	 * 
	 * @param memberWalletIdCondition 会员钱包ID查询条件
	 */
	public void setMemberWalletIdCondition(Condition<String> memberWalletIdCondition) {
		this.memberWalletIdCondition = memberWalletIdCondition;
	}

	/**
	 * 构造并返回悦卡类型ID查询条件
	 * 
	 * @return cardTemplateIdCondition 悦卡类型ID查询条件
	 */
	public Condition<String> cardTemplateId() {
		this.cardTemplateIdCondition = new Condition<>();
		return this.cardTemplateIdCondition;
	}
	
	/**
	 * 获取悦卡类型ID查询条件
	 * 
	 * @return cardTemplateIdCondition 悦卡类型ID查询条件
	 */
	public Condition<String> getCardTemplateIdCondition() {
		return cardTemplateIdCondition;
	}

	/**
	 * 设置悦卡类型ID查询条件
	 * 
	 * @param cardTemplateIdCondition 悦卡类型ID查询条件
	 */
	public void setCardTemplateIdCondition(Condition<String> cardTemplateIdCondition) {
		this.cardTemplateIdCondition = cardTemplateIdCondition;
	}

	/**
	 * 构造并返回悦卡卡号查询条件
	 * 
	 * @return cardNoCondition 悦卡卡号查询条件
	 */
	public Condition<String> cardNo() {
		this.cardNoCondition = new Condition<>();
		return this.cardNoCondition;
	}
	
	/**
	 * 获取悦卡卡号查询条件
	 * 
	 * @return cardNoCondition 悦卡卡号查询条件
	 */
	public Condition<String> getCardNoCondition() {
		return cardNoCondition;
	}

	/**
	 * 设置悦卡卡号查询条件
	 * 
	 * @param cardNoCondition 悦卡卡号查询条件
	 */
	public void setCardNoCondition(Condition<String> cardNoCondition) {
		this.cardNoCondition = cardNoCondition;
	}

	/**
	 * 构造并返回企业ID（发放悦卡的企业，会员自行购买时此字段为空）查询条件
	 * 
	 * @return companyIdCondition 企业ID（发放悦卡的企业，会员自行购买时此字段为空）查询条件
	 */
	public Condition<String> companyId() {
		this.companyIdCondition = new Condition<>();
		return this.companyIdCondition;
	}
	
	/**
	 * 获取企业ID（发放悦卡的企业，会员自行购买时此字段为空）查询条件
	 * 
	 * @return companyIdCondition 企业ID（发放悦卡的企业，会员自行购买时此字段为空）查询条件
	 */
	public Condition<String> getCompanyIdCondition() {
		return companyIdCondition;
	}

	/**
	 * 设置企业ID（发放悦卡的企业，会员自行购买时此字段为空）查询条件
	 * 
	 * @param companyIdCondition 企业ID（发放悦卡的企业，会员自行购买时此字段为空）查询条件
	 */
	public void setCompanyIdCondition(Condition<String> companyIdCondition) {
		this.companyIdCondition = companyIdCondition;
	}

	/**
	 * 构造并返回员工id查询条件
	 * 
	 * @return employeesIdCondition 员工id查询条件
	 */
	public Condition<String> employeesId() {
		this.employeesIdCondition = new Condition<>();
		return this.employeesIdCondition;
	}
	
	/**
	 * 获取员工id查询条件
	 * 
	 * @return employeesIdCondition 员工id查询条件
	 */
	public Condition<String> getEmployeesIdCondition() {
		return employeesIdCondition;
	}

	/**
	 * 设置员工id查询条件
	 * 
	 * @param employeesIdCondition 员工id查询条件
	 */
	public void setEmployeesIdCondition(Condition<String> employeesIdCondition) {
		this.employeesIdCondition = employeesIdCondition;
	}

	/**
	 * 构造并返回悦卡余额查询条件
	 * 
	 * @return remainCondition 悦卡余额查询条件
	 */
	public Condition<BigDecimal> remain() {
		this.remainCondition = new Condition<>();
		return this.remainCondition;
	}
	
	/**
	 * 获取悦卡余额查询条件
	 * 
	 * @return remainCondition 悦卡余额查询条件
	 */
	public Condition<BigDecimal> getRemainCondition() {
		return remainCondition;
	}

	/**
	 * 设置悦卡余额查询条件
	 * 
	 * @param remainCondition 悦卡余额查询条件
	 */
	public void setRemainCondition(Condition<BigDecimal> remainCondition) {
		this.remainCondition = remainCondition;
	}

	/**
	 * 构造并返回悦卡总额（不变）查询条件
	 * 
	 * @return amountCondition 悦卡总额（不变）查询条件
	 */
	public Condition<BigDecimal> amount() {
		this.amountCondition = new Condition<>();
		return this.amountCondition;
	}
	
	/**
	 * 获取悦卡总额（不变）查询条件
	 * 
	 * @return amountCondition 悦卡总额（不变）查询条件
	 */
	public Condition<BigDecimal> getAmountCondition() {
		return amountCondition;
	}

	/**
	 * 设置悦卡总额（不变）查询条件
	 * 
	 * @param amountCondition 悦卡总额（不变）查询条件
	 */
	public void setAmountCondition(Condition<BigDecimal> amountCondition) {
		this.amountCondition = amountCondition;
	}

	/**
	 * 构造并返回版本查询条件
	 * 
	 * @return versionCondition 版本查询条件
	 */
	public Condition<Integer> version() {
		this.versionCondition = new Condition<>();
		return this.versionCondition;
	}
	
	/**
	 * 获取版本查询条件
	 * 
	 * @return versionCondition 版本查询条件
	 */
	public Condition<Integer> getVersionCondition() {
		return versionCondition;
	}

	/**
	 * 设置版本查询条件
	 * 
	 * @param versionCondition 版本查询条件
	 */
	public void setVersionCondition(Condition<Integer> versionCondition) {
		this.versionCondition = versionCondition;
	}

	/**
	 * 构造并返回[枚举]悦卡来源：0-会员充值-MEMBER_BUY、1-企业发放-COMPANY_GRANT、2-实体卡绑定-ENTITY_BIND查询条件
	 * 
	 * @return sourceCondition [枚举]悦卡来源：0-会员充值-MEMBER_BUY、1-企业发放-COMPANY_GRANT、2-实体卡绑定-ENTITY_BIND查询条件
	 */
	public Condition<MemberCardSource> source() {
		this.sourceCondition = new Condition<>();
		return this.sourceCondition;
	}
	
	/**
	 * 获取[枚举]悦卡来源：0-会员充值-MEMBER_BUY、1-企业发放-COMPANY_GRANT、2-实体卡绑定-ENTITY_BIND查询条件
	 * 
	 * @return sourceCondition [枚举]悦卡来源：0-会员充值-MEMBER_BUY、1-企业发放-COMPANY_GRANT、2-实体卡绑定-ENTITY_BIND查询条件
	 */
	public Condition<MemberCardSource> getSourceCondition() {
		return sourceCondition;
	}

	/**
	 * 设置[枚举]悦卡来源：0-会员充值-MEMBER_BUY、1-企业发放-COMPANY_GRANT、2-实体卡绑定-ENTITY_BIND查询条件
	 * 
	 * @param sourceCondition [枚举]悦卡来源：0-会员充值-MEMBER_BUY、1-企业发放-COMPANY_GRANT、2-实体卡绑定-ENTITY_BIND查询条件
	 */
	public void setSourceCondition(Condition<MemberCardSource> sourceCondition) {
		this.sourceCondition = sourceCondition;
	}

	/**
	 * 构造并返回有效期开始时间（包含）查询条件
	 * 
	 * @return startTimeCondition 有效期开始时间（包含）查询条件
	 */
	public Condition<LocalDateTime> startTime() {
		this.startTimeCondition = new Condition<>();
		return this.startTimeCondition;
	}
	
	/**
	 * 获取有效期开始时间（包含）查询条件
	 * 
	 * @return startTimeCondition 有效期开始时间（包含）查询条件
	 */
	public Condition<LocalDateTime> getStartTimeCondition() {
		return startTimeCondition;
	}

	/**
	 * 设置有效期开始时间（包含）查询条件
	 * 
	 * @param startTimeCondition 有效期开始时间（包含）查询条件
	 */
	public void setStartTimeCondition(Condition<LocalDateTime> startTimeCondition) {
		this.startTimeCondition = startTimeCondition;
	}

	/**
	 * 构造并返回有效期截止时间（不包含）查询条件
	 * 
	 * @return endTimeCondition 有效期截止时间（不包含）查询条件
	 */
	public Condition<LocalDateTime> endTime() {
		this.endTimeCondition = new Condition<>();
		return this.endTimeCondition;
	}
	
	/**
	 * 获取有效期截止时间（不包含）查询条件
	 * 
	 * @return endTimeCondition 有效期截止时间（不包含）查询条件
	 */
	public Condition<LocalDateTime> getEndTimeCondition() {
		return endTimeCondition;
	}

	/**
	 * 设置有效期截止时间（不包含）查询条件
	 * 
	 * @param endTimeCondition 有效期截止时间（不包含）查询条件
	 */
	public void setEndTimeCondition(Condition<LocalDateTime> endTimeCondition) {
		this.endTimeCondition = endTimeCondition;
	}

	/**
	 * 构造并返回是否已退卡查询条件
	 * 
	 * @return refundCondition 是否已退卡查询条件
	 */
	public Condition<Boolean> refund() {
		this.refundCondition = new Condition<>();
		return this.refundCondition;
	}
	
	/**
	 * 获取是否已退卡查询条件
	 * 
	 * @return refundCondition 是否已退卡查询条件
	 */
	public Condition<Boolean> getRefundCondition() {
		return refundCondition;
	}

	/**
	 * 设置是否已退卡查询条件
	 * 
	 * @param refundCondition 是否已退卡查询条件
	 */
	public void setRefundCondition(Condition<Boolean> refundCondition) {
		this.refundCondition = refundCondition;
	}

	/**
	 * 构造并返回[枚举]绑定状态：0-不能绑定-NOT_CAN、1-已绑定-BINDING、2-已解绑-UNBINDING查询条件
	 * 
	 * @return bindStatusCondition [枚举]绑定状态：0-不能绑定-NOT_CAN、1-已绑定-BINDING、2-已解绑-UNBINDING查询条件
	 */
	public Condition<MemberCardBindStatus> bindStatus() {
		this.bindStatusCondition = new Condition<>();
		return this.bindStatusCondition;
	}
	
	/**
	 * 获取[枚举]绑定状态：0-不能绑定-NOT_CAN、1-已绑定-BINDING、2-已解绑-UNBINDING查询条件
	 * 
	 * @return bindStatusCondition [枚举]绑定状态：0-不能绑定-NOT_CAN、1-已绑定-BINDING、2-已解绑-UNBINDING查询条件
	 */
	public Condition<MemberCardBindStatus> getBindStatusCondition() {
		return bindStatusCondition;
	}

	/**
	 * 设置[枚举]绑定状态：0-不能绑定-NOT_CAN、1-已绑定-BINDING、2-已解绑-UNBINDING查询条件
	 * 
	 * @param bindStatusCondition [枚举]绑定状态：0-不能绑定-NOT_CAN、1-已绑定-BINDING、2-已解绑-UNBINDING查询条件
	 */
	public void setBindStatusCondition(Condition<MemberCardBindStatus> bindStatusCondition) {
		this.bindStatusCondition = bindStatusCondition;
	}

	/**
	 * 构造并返回[枚举]赠送状态：0-未赠送-NOT_PRESENT、1-赠送中-PRESENTING、2-已赠送-PRESENTED查询条件
	 * 
	 * @return presentStatusCondition [枚举]赠送状态：0-未赠送-NOT_PRESENT、1-赠送中-PRESENTING、2-已赠送-PRESENTED查询条件
	 */
	public Condition<MemberCardPresentStatus> presentStatus() {
		this.presentStatusCondition = new Condition<>();
		return this.presentStatusCondition;
	}
	
	/**
	 * 获取[枚举]赠送状态：0-未赠送-NOT_PRESENT、1-赠送中-PRESENTING、2-已赠送-PRESENTED查询条件
	 * 
	 * @return presentStatusCondition [枚举]赠送状态：0-未赠送-NOT_PRESENT、1-赠送中-PRESENTING、2-已赠送-PRESENTED查询条件
	 */
	public Condition<MemberCardPresentStatus> getPresentStatusCondition() {
		return presentStatusCondition;
	}

	/**
	 * 设置[枚举]赠送状态：0-未赠送-NOT_PRESENT、1-赠送中-PRESENTING、2-已赠送-PRESENTED查询条件
	 * 
	 * @param presentStatusCondition [枚举]赠送状态：0-未赠送-NOT_PRESENT、1-赠送中-PRESENTING、2-已赠送-PRESENTED查询条件
	 */
	public void setPresentStatusCondition(Condition<MemberCardPresentStatus> presentStatusCondition) {
		this.presentStatusCondition = presentStatusCondition;
	}

	/**
	 * 构造并返回是否优先排序 0 不优先 1优先查询条件
	 * 
	 * @return prioritizationCondition 是否优先排序 0 不优先 1优先查询条件
	 */
	public Condition<Boolean> prioritization() {
		this.prioritizationCondition = new Condition<>();
		return this.prioritizationCondition;
	}
	
	/**
	 * 获取是否优先排序 0 不优先 1优先查询条件
	 * 
	 * @return prioritizationCondition 是否优先排序 0 不优先 1优先查询条件
	 */
	public Condition<Boolean> getPrioritizationCondition() {
		return prioritizationCondition;
	}

	/**
	 * 设置是否优先排序 0 不优先 1优先查询条件
	 * 
	 * @param prioritizationCondition 是否优先排序 0 不优先 1优先查询条件
	 */
	public void setPrioritizationCondition(Condition<Boolean> prioritizationCondition) {
		this.prioritizationCondition = prioritizationCondition;
	}

	/**
	 * 构造并返回创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置创建时间查询条件
	 * 
	 * @param createdTimeCondition 创建时间查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return modifiedTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> modifiedTime() {
		this.modifiedTimeCondition = new Condition<>();
		return this.modifiedTimeCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return modifiedTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> getModifiedTimeCondition() {
		return modifiedTimeCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param modifiedTimeCondition 查询条件
	 */
	public void setModifiedTimeCondition(Condition<LocalDateTime> modifiedTimeCondition) {
		this.modifiedTimeCondition = modifiedTimeCondition;
	}

}
